.class Lcom/opongo/blogapp/activities/PostViewScrollActivity$UnlockRefresh$1;
.super Ljava/lang/Object;
.source "PostViewScrollActivity.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/opongo/blogapp/activities/PostViewScrollActivity$UnlockRefresh;->run()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$1:Lcom/opongo/blogapp/activities/PostViewScrollActivity$UnlockRefresh;


# direct methods
.method constructor <init>(Lcom/opongo/blogapp/activities/PostViewScrollActivity$UnlockRefresh;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/opongo/blogapp/activities/PostViewScrollActivity$UnlockRefresh$1;->this$1:Lcom/opongo/blogapp/activities/PostViewScrollActivity$UnlockRefresh;

    .line 135
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 4

    .prologue
    const/4 v2, 0x0

    .line 138
    :try_start_0
    iget-object v1, p0, Lcom/opongo/blogapp/activities/PostViewScrollActivity$UnlockRefresh$1;->this$1:Lcom/opongo/blogapp/activities/PostViewScrollActivity$UnlockRefresh;

    #getter for: Lcom/opongo/blogapp/activities/PostViewScrollActivity$UnlockRefresh;->this$0:Lcom/opongo/blogapp/activities/PostViewScrollActivity;
    invoke-static {v1}, Lcom/opongo/blogapp/activities/PostViewScrollActivity$UnlockRefresh;->access$1(Lcom/opongo/blogapp/activities/PostViewScrollActivity$UnlockRefresh;)Lcom/opongo/blogapp/activities/PostViewScrollActivity;

    move-result-object v1

    const v3, 0x7f080030

    invoke-virtual {v1, v3}, Lcom/opongo/blogapp/activities/PostViewScrollActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Gallery;

    .line 139
    .local v0, g:Landroid/widget/Gallery;
    iget-object v1, p0, Lcom/opongo/blogapp/activities/PostViewScrollActivity$UnlockRefresh$1;->this$1:Lcom/opongo/blogapp/activities/PostViewScrollActivity$UnlockRefresh;

    #getter for: Lcom/opongo/blogapp/activities/PostViewScrollActivity$UnlockRefresh;->this$0:Lcom/opongo/blogapp/activities/PostViewScrollActivity;
    invoke-static {v1}, Lcom/opongo/blogapp/activities/PostViewScrollActivity$UnlockRefresh;->access$1(Lcom/opongo/blogapp/activities/PostViewScrollActivity$UnlockRefresh;)Lcom/opongo/blogapp/activities/PostViewScrollActivity;

    move-result-object v1

    invoke-virtual {v0}, Landroid/widget/Gallery;->getSelectedItemPosition()I

    move-result v3

    #setter for: Lcom/opongo/blogapp/activities/PostViewScrollActivity;->position:I
    invoke-static {v1, v3}, Lcom/opongo/blogapp/activities/PostViewScrollActivity;->access$0(Lcom/opongo/blogapp/activities/PostViewScrollActivity;I)V

    .line 140
    iget-object v1, p0, Lcom/opongo/blogapp/activities/PostViewScrollActivity$UnlockRefresh$1;->this$1:Lcom/opongo/blogapp/activities/PostViewScrollActivity$UnlockRefresh;

    #getter for: Lcom/opongo/blogapp/activities/PostViewScrollActivity$UnlockRefresh;->this$0:Lcom/opongo/blogapp/activities/PostViewScrollActivity;
    invoke-static {v1}, Lcom/opongo/blogapp/activities/PostViewScrollActivity$UnlockRefresh;->access$1(Lcom/opongo/blogapp/activities/PostViewScrollActivity$UnlockRefresh;)Lcom/opongo/blogapp/activities/PostViewScrollActivity;

    move-result-object v1

    #getter for: Lcom/opongo/blogapp/activities/PostViewScrollActivity;->cursor:Landroid/database/Cursor;
    invoke-static {v1}, Lcom/opongo/blogapp/activities/PostViewScrollActivity;->access$1(Lcom/opongo/blogapp/activities/PostViewScrollActivity;)Landroid/database/Cursor;

    move-result-object v3

    iget-object v1, p0, Lcom/opongo/blogapp/activities/PostViewScrollActivity$UnlockRefresh$1;->this$1:Lcom/opongo/blogapp/activities/PostViewScrollActivity$UnlockRefresh;

    #getter for: Lcom/opongo/blogapp/activities/PostViewScrollActivity$UnlockRefresh;->this$0:Lcom/opongo/blogapp/activities/PostViewScrollActivity;
    invoke-static {v1}, Lcom/opongo/blogapp/activities/PostViewScrollActivity$UnlockRefresh;->access$1(Lcom/opongo/blogapp/activities/PostViewScrollActivity$UnlockRefresh;)Lcom/opongo/blogapp/activities/PostViewScrollActivity;

    move-result-object v1

    #getter for: Lcom/opongo/blogapp/activities/PostViewScrollActivity;->position:I
    invoke-static {v1}, Lcom/opongo/blogapp/activities/PostViewScrollActivity;->access$2(Lcom/opongo/blogapp/activities/PostViewScrollActivity;)I

    move-result v1

    if-ltz v1, :cond_0

    iget-object v1, p0, Lcom/opongo/blogapp/activities/PostViewScrollActivity$UnlockRefresh$1;->this$1:Lcom/opongo/blogapp/activities/PostViewScrollActivity$UnlockRefresh;

    #getter for: Lcom/opongo/blogapp/activities/PostViewScrollActivity$UnlockRefresh;->this$0:Lcom/opongo/blogapp/activities/PostViewScrollActivity;
    invoke-static {v1}, Lcom/opongo/blogapp/activities/PostViewScrollActivity$UnlockRefresh;->access$1(Lcom/opongo/blogapp/activities/PostViewScrollActivity$UnlockRefresh;)Lcom/opongo/blogapp/activities/PostViewScrollActivity;

    move-result-object v1

    #getter for: Lcom/opongo/blogapp/activities/PostViewScrollActivity;->position:I
    invoke-static {v1}, Lcom/opongo/blogapp/activities/PostViewScrollActivity;->access$2(Lcom/opongo/blogapp/activities/PostViewScrollActivity;)I

    move-result v1

    :goto_0
    invoke-interface {v3, v1}, Landroid/database/Cursor;->moveToPosition(I)Z

    .line 141
    iget-object v1, p0, Lcom/opongo/blogapp/activities/PostViewScrollActivity$UnlockRefresh$1;->this$1:Lcom/opongo/blogapp/activities/PostViewScrollActivity$UnlockRefresh;

    #getter for: Lcom/opongo/blogapp/activities/PostViewScrollActivity$UnlockRefresh;->this$0:Lcom/opongo/blogapp/activities/PostViewScrollActivity;
    invoke-static {v1}, Lcom/opongo/blogapp/activities/PostViewScrollActivity$UnlockRefresh;->access$1(Lcom/opongo/blogapp/activities/PostViewScrollActivity$UnlockRefresh;)Lcom/opongo/blogapp/activities/PostViewScrollActivity;

    move-result-object v1

    iget-object v3, p0, Lcom/opongo/blogapp/activities/PostViewScrollActivity$UnlockRefresh$1;->this$1:Lcom/opongo/blogapp/activities/PostViewScrollActivity$UnlockRefresh;

    #getter for: Lcom/opongo/blogapp/activities/PostViewScrollActivity$UnlockRefresh;->this$0:Lcom/opongo/blogapp/activities/PostViewScrollActivity;
    invoke-static {v3}, Lcom/opongo/blogapp/activities/PostViewScrollActivity$UnlockRefresh;->access$1(Lcom/opongo/blogapp/activities/PostViewScrollActivity$UnlockRefresh;)Lcom/opongo/blogapp/activities/PostViewScrollActivity;

    move-result-object v3

    #getter for: Lcom/opongo/blogapp/activities/PostViewScrollActivity;->cursor:Landroid/database/Cursor;
    invoke-static {v3}, Lcom/opongo/blogapp/activities/PostViewScrollActivity;->access$1(Lcom/opongo/blogapp/activities/PostViewScrollActivity;)Landroid/database/Cursor;

    move-result-object v3

    #calls: Lcom/opongo/blogapp/activities/PostViewScrollActivity;->setPostContent(Landroid/database/Cursor;)V
    invoke-static {v1, v3}, Lcom/opongo/blogapp/activities/PostViewScrollActivity;->access$3(Lcom/opongo/blogapp/activities/PostViewScrollActivity;Landroid/database/Cursor;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 146
    .end local v0           #g:Landroid/widget/Gallery;
    :goto_1
    iget-object v1, p0, Lcom/opongo/blogapp/activities/PostViewScrollActivity$UnlockRefresh$1;->this$1:Lcom/opongo/blogapp/activities/PostViewScrollActivity$UnlockRefresh;

    #getter for: Lcom/opongo/blogapp/activities/PostViewScrollActivity$UnlockRefresh;->this$0:Lcom/opongo/blogapp/activities/PostViewScrollActivity;
    invoke-static {v1}, Lcom/opongo/blogapp/activities/PostViewScrollActivity$UnlockRefresh;->access$1(Lcom/opongo/blogapp/activities/PostViewScrollActivity$UnlockRefresh;)Lcom/opongo/blogapp/activities/PostViewScrollActivity;

    move-result-object v1

    #setter for: Lcom/opongo/blogapp/activities/PostViewScrollActivity;->lockRefresh:Z
    invoke-static {v1, v2}, Lcom/opongo/blogapp/activities/PostViewScrollActivity;->access$4(Lcom/opongo/blogapp/activities/PostViewScrollActivity;Z)V

    .line 147
    return-void

    .restart local v0       #g:Landroid/widget/Gallery;
    :cond_0
    move v1, v2

    .line 140
    goto :goto_0

    .line 142
    .end local v0           #g:Landroid/widget/Gallery;
    :catch_0
    move-exception v1

    goto :goto_1
.end method
